package org.jd.entity;

public class Course {
    private String CourseName;
    private int Credit;

    public Course(String courseName, int credit) {
        CourseName = courseName;
        Credit = credit;
    }

    public Course() {
    }

    public String getCourseName() {
        return CourseName;
    }

    public void setCourseName(String courseName) {
        CourseName = courseName;
    }

    public int getCredit() {
        return Credit;
    }

    public void setCredit(int credit) {
        Credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "CourseName='" + CourseName + '\'' +
                ", Credit=" + Credit +
                '}';
    }
}
